//存储用户信息到本地

export const setUserInfo = (userInfo)=>{
    localStorage.setItem('userInfo',userInfo);
}

export const getUserInfo = ()=>{
    return localStorage.getItem('userInfo');
}

export const removeUserInfo = ()=>{
    localStorage.removeItem('userInfo');
}